package com.yundasys.lab12java.lambda.stream;

/**
 * @author jiangta
 * @version 1.0
 * @date 2021/6/7 10:01 上午
 */
public interface IFormula {

    double calculate(int a);

    default double sqrt(int a){
        return Math.sqrt(a);
    }
}
